package com.xce.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName StorageFeign
 * @Description TODO
 * @Author lld
 * @Date 2025/7/10 2:45
 * @Version 1.0
 */
@FeignClient(value = "seata-storage")
public interface StorageFeign {

    @GetMapping("/deduct")
    String deduct(@RequestParam String commodityCode,
                         @RequestParam Integer count);
}
